package com.atcmss.demo.dao;

import com.atcmss.demo.bean.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface UserMapper extends BaseMapper<User> {
    @MapKey("id")
    Map<Long,Map<String,Object>> selectMapById(@Param("ids") List<Long> ids);

    Map<String,Object> selectMapByOneId(@Param("id") Long id);


}
